/*
 * @Author: Mr · Lei
 * @Date: 2024-11-19 14:57:04
 * @LastEditors: OBKoro1
 * @LastEditTime: 2025-01-04 17:37:32
 * @FilePath: \ruituan-tuan-Agent\src\router\routes\modules\shop.ts
 * @Description: 
 * 
 * Copyright (c) 2024 by 四川开局红科技有限公司, All Rights Reserved. 
 */
import { DEFAULT_LAYOUT } from '../base';
import { AppRouteRecordRaw } from '../types';

const ORDER: AppRouteRecordRaw = {
  path: '/shop',
  name: 'shop',
  component: () => import('@/layout/default-layout.vue'),
  meta: {
    locale: 'menu.shop',
    requiresAuth: true,
    icon: 'icon-home',
    order: 1,
  },
  children: [
    {
      path: 'shop-list',
      name: 'shop-list',
      component: () => import('@/views/shop/shop-list/index.vue'),
      meta: {
        locale: 'menu.shop.list',
        requiresAuth: true,
        roles: ['*'],
      },
    },
    {
      path: 'shop-area',
      name: 'shop-area',
      component: () => import('@/views/shop/shop-area/index.vue'),
      meta: {
        locale: 'menu.shop.area',
        requiresAuth: true,
        roles: ['*'],
      },
    }
    
  ],
};

export default ORDER;
